package com.gitee.huanminabc.utils_tools.security.service.impl;

import com.gitee.huanminabc.utils_tools.security.dal.dao.ApplicationDaoService;
import com.gitee.huanminabc.utils_tools.security.service.ApplicationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
 * @Author huanmin
 */
@Service
public class ApplicationServiceImpl implements ApplicationService {
    @Autowired
    private ApplicationDaoService applicationDaoService;


    @Override
    public boolean hasPermission(String account, String appId, String appSecret) {
        return applicationDaoService.hasPermission(account,appId,appSecret);
    }
}
